package com.jiangwh.web.restful.groovy;

import javax.ws.rs.CookieParam;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.QueryParam;

import org.apache.cxf.jaxrs.model.wadl.Description;

/**利用groovy脚本处理的业务接口
 * @author jiangwh
 *
 */
public interface FacadeForGroovy {	
	@GET
	@Path("/getName/{name}")
	String getWords(
			@Description("string type name") @PathParam("name") String name,
			@CookieParam("JSESSIONID") String jsessionId,
			@HeaderParam("SCHOOLKEY") String schoolKey,
			@QueryParam("p")String pass);
	
}
